home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / a_man / cat1 / autopush.z / autopush
Encoding:
Text File  |  1998-10-20  |  4.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4. aaaauuuuttttooooppppuuuusssshhhh((((1111MMMM))))                                                      aaaauuuuttttooooppppuuuusssshhhh((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      autopush - configure lists of automatically pushed STREAMS modules
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      aaaauuuuttttooooppppuuuusssshhhh ----ffff file
  13.      aaaauuuuttttooooppppuuuusssshhhh ----rrrr ----MMMM major ----mmmm minor
  14.      aaaauuuuttttooooppppuuuusssshhhh ----gggg ----MMMM major ----mmmm minor
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      _a_u_t_o_p_u_s_h allows you to configure the list of modules to be automatically
  18.      pushed onto the stream when a device is opened.  It can also be used to
  19.      remove a previous setting or get information on a setting.
  20.  
  21.      The following options apply to _a_u_t_o_p_u_s_h:
  22.  
  23.      ----ffff _f_i_l_e   This option sets up the _a_u_t_o_p_u_s_h configuration for each driver
  24.                according to the information stored in the specified file.  An
  25.                _a_u_t_o_p_u_s_h file consists of lines of at least four fields each,
  26.                where the fields are separated by a space as shown below:
  27.  
  28.  
  29.                     _m_a_j  _m_i_n  _l_a_s_t__m_i_n  _m_o_d_1 _m_o_d_2 ... _m_o_d_n
  30.  
  31.                The first three fields are integers that specify the major
  32.                device number, minor device number, and last minor device
  33.                number.  The fields following represent the names of modules.
  34.                If _m_i_n is -1, then all minor devices of a major driver
  35.                specified by _m_a_j are configured and the value for _l_a_s_t__m_i_n is
  36.                ignored.  If _l_a_s_t__m_i_n is 0, then only a single minor device is
  37.                configured.  To configure a range of minor devices for a
  38.                particular major, _m_i_n must be less than _l_a_s_t__m_i_n.
  39.  
  40.                The last fields of a line in the _a_u_t_o_p_u_s_h file represent the
  41.                list of module names where each is separated by a space.  The
  42.                maximum number of modules that can be automatically pushed on a
  43.                stream is defined to be eight.  The modules are pushed in the
  44.                order they are specified.  Comment lines start with a # sign.
  45.  
  46.      ----rrrr        Remove the previous configuration setting of the particular
  47.                _m_a_j_o_r and _m_i_n_o_r device number specified with the ----MMMM and ----mmmm
  48.                options respectively.  If the values of _m_a_j_o_r and _m_i_n_o_r
  49.                correspond to a setting of a range of minor devices where _m_i_n_o_r
  50.                matches the first minor device number in the range, the
  51.                configuration would be removed for the entire range.
  52.  
  53.      ----gggg        Get the current configuration setting of a particular _m_a_j_o_r and
  54.                _m_i_n_o_r device number specified with the ----MMMM and ----mmmm options,
  55.                respectively.  It also returns the starting minor device number
  56.                if the request corresponds to a setting of a range (as
  57.                described with the ----ffff option).
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. aaaauuuuttttooooppppuuuusssshhhh((((1111MMMM))))                                                      aaaauuuuttttooooppppuuuusssshhhh((((1111MMMM))))
  71.  
  72.  
  73.  
  74. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  75.      streamio(7).
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.